import {get, post_json} from '@/utils/request'


export function favorite_list(params) {
    return post_json('/favorite/list', params)
}

export function favorite_delete(params) {
    return get('/favorite/delete', params)
}

export function favorite_detail(params) {
    return get('/favorite/detail', params)
}

export function favorite_update(params) {
    return post_json("/favorite/update", params)
}

export function favorite_add(params) {
    return post_json("/favorite/add", params)
}